/*
 * ParameterDefinition.java
 *
 * Created on August 31, 2006, 5:14 PM
 *
 * (C) 2006 R. Alexander Milowski
 */

package com.smallx.xproc;

import org.infoset.xml.Name;

/**
 *
 * @author alex
 */
public class ParameterDefinition {
   
   Name name;
   boolean required;
   
   /** Creates a new instance of ParameterDefinition */
   public ParameterDefinition(Name name,boolean required) {
      this.name = name;
      this.required = required;
   }
   
   public Name getName() {
      return name;
   }
   
   public boolean isRequired() {
      return required;
   }
   
}
